package cn.itsource.job;


import cn.itsource.job.service.TaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component //spring管理
public class TimingRemindTask {

    @Autowired
    private TaskService taskService;

//    @Schedules({@Scheduled(cron = "0/10 * * * * ?")})
//    public void remindTask() throws InterruptedException {
//        taskService.executeRemindMessage();
//    }

}
